# def tset_assert(a):
#     """当输入的参数不大于0时断言抛出异常"""
#     assert a>0,"a需要大于0"
#     print('a=',a)
#
# tset_assert(-10)

b=5
c=6
if b<c:
    raise Exception ( "b不大于c" )

list = []
list.append("jack")
print(list)

str1 ='HAO123 hao456 hAo789'
new_str = str1.split()
new_str2 = str1.split(' ',1)
new_str3 = str1.split(' ',2)
print(new_str)
print(new_str2)
print(new_str3)
